h3, h4 {
    border-bottom: 1px solid #999999;
}

h3 {
    font-size: large;
}

.dir, .subdir {
    padding: 0;
    margin: 0;
    border: 0;
}

.dir img, .dir p, .dir form {
    display: inline;
    padding: 0;
    margin: 0;
    border: 0px;
}

.dir img {
    vertical-align: middle;
}

.dir p {
    vertical-align: middle;
}

.newDocument {
    background-color: #CCCCCC;
    border: 1px solid black;
    padding: 0.5em;
}

.newDocument h4 {
    padding: 0;
    margin: 0;
    margin-bottom: 0.5em;
}

.docman_new_submit {
    text-align: center;
    margin-top: 1em;
}

#docman_new_item_location_current_folder {
    font-weight: bold;
}

.dir input {
    border: 1px solid black;
}

.docman_help {
    width: auto;
    background: url(../images/ic/help.png) no-repeat;
    background-position: 5px center;
    border: 1px solid #DDDDDD;
    padding: 0.5em;
    padding-left: 40px;
    margin: 0.5em;
}

.docman_help span.code {
    font-family: "Courier New", Courier;
}

/**
UL/LI Based
*/

ul.docman_items {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-left: 24px;
}

li.docman_item {
    background: transparent url(../images/line.gif) left top repeat-y;
}

li.docman_item_last {
}

.docman_properties_navlist {
    padding: 3px 0;
    margin: 0;
    border-bottom: 1px solid #bcbcad;
    font: bold 12px Verdana, sans-serif;
}

.docman_properties_navlist li {
    list-style: none;
    margin: 0;
    display: inline;
}

.docman_properties_navlist li a {
    padding: 3px 0.5em;
    margin-left: 3px;
    border: 1px solid #bcbcad;
    border-bottom: none;
    background: #e8e8e0;
    text-decoration: none;
}

.docman_properties_navlist li a:hover {
    background-color: #e8e8e0;
    color: #8b4020;
}

.docman_properties_navlist li a.docman_properties_navlist_current {
    background: white;
    border-bottom: 1px solid white;
}

.docman_properties_content {
    border: 1px solid #bcbcad;
    border-top: none;
    padding: 10px 20px;
    background: white;
}

.docman_properties_content dl dt {
    font-weight: bold;
    font-size: 1.1em;
}

.docman_confirm_delete {
    border: medium solid red;
    background: #FFC;
    padding: 4px 10px;

}

.docman_confirm_delete_buttons {
    text-align: center;
}

.docman_item_title {
    font-weight: bold;
    padding-left: 6px;
}

.docman_item_description {
    margin-left: 30px;
    font-size: 0.9em;
    padding-bottom: 6px;
}

.docman_item_icon {
    vertical-align: middle;
    margin-right: 4px;
}

.docman_item_options {
    margin-left: 4px;
}

.docman_item_show_options {
    margin-left: 24px;
    font-size: 0.7em;
}

a.docman_item_show_options {
    color: #ccc;
}

a.docman_item_show_options:hover {
    color: red;
}

form {
    margin: 0;
}

a img {
    border: none;
}

.feedback_error h3,
.feedback_warning h3,
.feedback_info h3 {
    display: none;
}

/*
 * Filters
 */

.docman_filters {
    clear: both; /* needed to clear 'location' and 'view selector' */
}

#docman_filters_title {
    font-weight: bold;
    background-color: #DDDDDD;
    padding: 2px;
    border: 1px solid #DDDDDD;
    margin-bottom: 0.3em;
}

#docman_filters_title select {
    font-family: monospace;
    font-weight: normal;
}

#docman_filters_fieldset {
    border-left: 1px solid #DDDDDD;
    border-right: 1px solid #DDDDDD;
    border-bottom: 1px solid #DDDDDD;
    padding: 0.2em;
    /* Linked to #docman_filters_title::margin-bottom */
    margin-top: -0.3em;
    /* Need to be the same value than #docman_filters_title::margin-bottom */
    margin-bottom: 0.3em;
}

#docman_report_filterlist {
    display: inline;
}

#docman_report_options select {
    font-family: monospace;
}

#docman_report_save select {
    font-family: monospace;
}

#docman_report_submit {
    display: inline;
}

/*
 * fielderror
 */

.plugin_docman_fielderror input,
.plugin_docman_fielderror select {
    border: medium solid red;
}

/* .plugin_docman_fielderror  {
    padding:  4px;
    background: red;
    display:inline;
}
*/

.docman_item_menu {
    border: 1px solid #bcbcad;
    border-right: 2px solid #bcbcad;
    border-bottom: 2px solid #bcbcad;
    position: absolute;
    z-index: 100;
    background: #e8e8e0;
    /*background:#e8e8e0 url('../images/bg-menu.png') 0 0 repeat-y;*/
}

.docman_item_menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.docman_item_menu ul li a {
    border: 1px solid #e8e8e0;
    padding-top: 0px;
    padding-right: 1em;
    padding-bottom: 0px;
    padding-left: 24px;
    text-decoration: none;
    /*display: block;*/
    background-repeat: no-repeat;
    background-position: 2px 1px;
}

.docman_item_menu ul li a:hover {
    border: 1px solid #bcbcad;
    background-color: #f0f0e7;
}

.docman_item_menu_close {
    text-align: right;
    height: inherit;
    font-size: 0.8em;
    padding-left: 2px;
}

/*
 * For an unknown reason, adding <p> or <span> in .docman_item_menu breaks the
 * randering of the whole menu. The only solution I found is to repeat the rule
 * just for move.
 */
.docman_item_option_id_info {
    font-size: 0.8em;
    border: 1px solid #e8e8e0;
    padding-top: 0px;
    padding-right: 1em;
    padding-bottom: 0px;
    text-decoration: none;
    display: inline;
    background-repeat: no-repeat;
    background-position: 2px 1px;
    text-align: right;
}

.docman_item_option_details {
    background-image: url('../images/ic/item-details.png');
}

.docman_item_option_newdocument {
    background-image: url('../images/ic/document-new.png');
}

.docman_item_option_newfolder {
    background-image: url('../images/ic/folder-new.png');
}

.docman_item_option_newversion {
    background-image: url('../images/ic/file-newversion.png');
}

/*
 * For an unknown reason, adding <p> or <span> in .docman_item_menu breaks the
 * randering of the whole menu. The only solution I found is to repeat the rule
 * just for move.
 */
.docman_item_option_move {
    border: 1px solid #e8e8e0;
    padding-top: 0px;
    padding-right: 1em;
    padding-bottom: 0px;
    padding-left: 24px;
    text-decoration: none;
    display: inline;
    background-repeat: no-repeat;
    background-position: 2px 1px;
    background-image: url('../images/ic/item-move.png');
}

.docman_item_option_history {
    background-image: url('../images/ic/history.png');
}

.docman_item_option_notifications {
    background-image: url('../images/ic/notifications.png');
}

.docman_item_option_permissions {
    background-image: url('../images/ic/permissions.png');
}

.docman_item_option_delete {
    background-image: url('../images/ic/delete.png');
}

.docman_item_option_update {
    background-image: url('../images/ic/file-newversion.png');
}

.docman_item_option_copy {
    background-image: url('../images/ic/copy.png');
}

.docman_item_option_cut {
    background-image: url('../images/ic/cut.png');
}

.docman_item_option_paste {
    display: inline;
    background-image: url('../images/ic/paste.png');
}

.docman_item_option_approval {
    background-image: url('../images/ic/approval.png');
}

.docman_item_option_lock_add {
    background-image: url('../images/ic/lock_add.png');
}

.docman_item_option_lock_del {
    background-image: url('../images/ic/lock_delete.png');
}

.docman_item_option_separator {
    width: 10em;
    padding: 0;
    margin-top: 0.25em;
    margin-bottom: 0;
}

/**********/
.docman_item_actual_parent {
    font-weight: bold;
}

/*
 * Metadata listofvalues admin
 */
.docman_admin_list_values tr.default_value {
    font-weight: bold;
}

/*
 * Metadata import
 */
.docman_md_missing, .docman_md_equivalent, .docman_md_conflict {
    text-align: center;
    /* This color is orange light */
    background-color: rgb(253, 185, 111);
}

.docman_md_equals {
    text-align: center;
}

/*
 * Approval Table
 */

/* Table */
.docman_approval_readonly {
    vertical-align: top;
    font-style: italic;
    color: grey;
}

.docman_approval_highlight {
    vertical-align: top;
}

.docman_approval_email {
    font-family: courier, monospace;
    white-space: pre;
    background-color: #CCCCCC;
}

/* Generic */
.docman_form textarea {
    width: 50em;
    height: 7em;
}

.docman_form input.text_field {
    width: 40em;
}

.docman_text_field {
    width: 50em;
}

.docman_embedded_file_content {
    clear: both; /* be careful with this */
}

#docman_browse_viewas {
    color: #c0c0c0;
}

#docman_browse_viewas input {
    vertical-align: middle;
}

.plugin-docman-notifications-list {
    max-width: 960px;
    margin-bottom: 15px;
}

.plugin-docman-notifications-list-document,
.plugin-docman-notifications-list-user {
    width: 50%;
}

.docman-notification-email-list-group-icon {
    color: #666;
    margin: 0 5px 0 4px;
}

.avatar.docman-notification-user-avatar {
    display: inline-block;
    position: relative;
    top: -2px;
    width: 22px;
    height: 22px;
    margin: 0 2px 0 0;
    vertical-align: middle;
}

.docman-notification-add-cascade {
    margin: 0;
}
